@import '~antd/es/style/themes/default.less';
@import '../../../utils/utils.less';

.tableListForm {
  :global {
    .ant-form-item {
      margin-bottom: 10px;
      margin-top: 4px;
      margin-right: 0;
      display: flex;
    }
    .ant-legacy-form-item {
      margin-bottom: 4px;
      margin-top: 4px;
      margin-right: 0;
      display: flex;
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
}
.editable-cell {
  position: relative;
}

.editable-cell-value-wrap {
  padding: 5px 12px;
  cursor: pointer;
}
.editable-row:hover .editable-cell-value-wrap {
  min-height: 21px;
}
.editable-row:hover .editable-cell-value-wrap {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 4px 11px;
}
.pateoSearch {
  width: 100%;
  background-color: #fff;
  padding: 15px 0;
  //   border-radius: 14px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  //字符输入框
  .searchInputStr {
    width: calc(100% / 3);
    min-width: 250px;
    padding: 10px;
    display: flex;
    align-items: center;
    .title {
      white-space: nowrap;
      margin-right: 5px;
    }
  }
  //单选框
  .searchSelectOne {
    width: calc(100% / 3);
    min-width: 250px;
    padding: 10px;
    display: flex;
    align-items: center;
    .title {
      white-space: nowrap;
      margin-right: 5px;
    }
  }
  //按钮框
  .searchBtn {
    width: calc(100% / 3);
    min-width: 250px;
    padding: 10px;
    margin: 0 0 0 auto;
    display: flex;
    justify-content: flex-end;
  }
  :global {
    .ant-select {
      width: 100%;
    }
    .ant-input-number {
      width: 100%;
    }
  }
}

.pateoBtns {
  width: 100%;
  background-color: #fff;
  padding: 15px 15px 0 15px;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  .btnItem {
    margin-right: 10px;
    margin-bottom: 15px;
  }
}
.editable-cell {
  position: relative;
}

.editable-cell-value-wrap {
  padding: 5px 12px;
  cursor: pointer;
}
.editable-row:hover .editable-cell-value-wrap {
  min-height: 21px;
}
.editable-row:hover .editable-cell-value-wrap {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 4px 11px;
}

.standardTable {
  margin-top: 12px;
  border: none;
  :global {
    .ant-table-pagination {
      margin-top: 24px;
      font-size: 14px;
    }
  }
  .custom-filter-dropdown {
    padding: 8px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  }

  .custom-filter-dropdown input {
    width: 130px;
    margin-right: 8px;
  }

  .highlight {
    color: #f50;
  }
  .tableAlert {
    margin-bottom: 16px;
  }

  .splitLine {
    background: @border-color-split;
    display: inline-block;
    margin: 0 8px;
    width: 1px;
    height: 12px;
  }

  .delete-row-operations {
    margin-left: 30px;
    background-color: red;
  }
}

@media screen and (max-width: @screen-lg) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 24px;
  }
}

@media screen and (max-width: @screen-md) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 8px;
  }
}